﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class System : List<Planet>
    {
        public Vector field(Vector v1)
        {
                Vector totalfield = new Vector(0,0,0);
                foreach (Planet p in this)
                    totalfield += p.field(v1);
                return totalfield;
        }
        public void step(double t)
        {

        }
    }
}
